<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="<%=basePath%>">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<title>涵春楼服务应用管理平台</title>
<link href="css/css-main.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/superfish.css" />
<link rel="stylesheet" type="text/css" href="css/css-tree.css">

<link rel="stylesheet" type="text/css" href="css1/css-main.css">

	<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.js"></script>
<script type="text/javascript" src="js/xixi.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
		<script type="text/javascript" language="javascript">

			//iframe自适应窗口高度		
			function iFrameHeight() { 
				var ifm= document.getElementById("mainFrame"); 
				var subWeb = document.frames ? document.frames["mainFrame"].document : ifm.contentDocument; 
				if(ifm != null && subWeb != null) { 
				ifm.height = subWeb.body.scrollHeight; 
				} 
			}

			/**
			 * setInterval("time.innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
			 */
			setInterval("time.innerHTML=new Date().toLocaleString();", 1000);

			//退出
			function logout(){
				var r = confirm("确定要退出吗？");
				if (r == true) {
					//var result = myact.ReplyUserInfo(cardNo, status);
					//if (result == 0) {
						var a = document.getElementById("queryHref");
						//指定<a>标签的href  
						a.href = "cms/manager/login/logout.do";
						//取消<a>标签原先的onclick事件,使<a>标签点击后通过href跳转(因为无法用js跳转)^-^  
						a.setAttribute("onclick", '');
						//激发标签点击事件OVER  
						a.click("return true");
						window.top.opener=null; 
						window.top.open( " ",   "_self");   //IE7必需的. 
						window.top.close(); 
				} else {
					return;
				}
				 
				
			}
		</script> 
</head>
<div class="body-header">
  <div class="body-header-top">
  	<div class="userbar">
					<span>欢迎您，<em>${LOGIN_USER.userName}</em> </span>| 时间：
					<font id="time"></font> |
					<!-- 
					<a href="cms/manager/toChangeUserPwd.do" target="_parent">修改密码</a>|
					 -->
					<a href="javascript:void(0);" id="queryHref" target="_parent" onclick="logout()">退出</a>
				</div>
  </div>
</div>
<div class="body-navbar">
  <div id="menu">
    <ul id="nav">
      <li class="mainlevel" id="mainlevel_01"><a href="topIndex.jsp" target="_parent">首页</a></li>
      <li class="mainlevel" id="mainlevel_02"><a href="index.jsp" target="_parent">会所管理</a></li>
      <li class="mainlevel" id="mainlevel_02"><a href="cms/customer/toCustomer.do" target="_parent">会员管理</a></li>
      <li class="mainlevel" id="mainlevel_02"><a href="jsp/cms/manager/index.jsp" target="_parent">系统管理</a></li>
      <li class="mainlevel" id="mainlevel_02"><a href="javascript:void(0);" target="_parent">信息发布</a></li>
    </ul>
  </div>
</div>
</html>

